package com.kantboot.api.varcode.repository;

import com.kantboot.api.varcode.domain.entity.ApiVarCodeTemplate;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ApiVarCodeTemplateRepository extends JpaRepository<ApiVarCodeTemplate,Long> {

    /**
     * 根据类型编码和场景编码获取模板
     */
    ApiVarCodeTemplate findByTypeCodeAndSceneCode(String typeCode, String sceneCode);

}
